<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <title>聊天</title>
    <link rel="stylesheet" href="../../css/aui.css">
     <link rel="stylesheet" href="../../css/common.css">
     <script type="text/javascript" src="../../script/api.js"></script>
    <script language="JavaScript" src="../../script/vue.js"></script>
     <script language="JavaScript" src="../../script/common.js"></script>
    <script language="JavaScript" src="../../script/moment.min.js"></script>
    <script language="JavaScript" src="../../script/reconnecting-websocket.js"></script>
    <style>
        .chatlist{
            width: 100%;
            position: absolute;
            top:0;
            height: 90% ;
            z-index: 11;
            overflow-y:scroll;
        }
        .chatinput{
            width: 100%;
            position: absolute;
            bottom: 0;
            z-index: 15;
        }
    </style>
</head>
<body>
<div id="chat-box">
  <header class="aui-bar aui-bar-nav" id="header">
      <a class="aui-pull-left aui-btn" onclick="closewin();">
          <span class="aui-iconfont aui-icon-left"></span>
      </a>
      <div class="aui-title">聊天内容</div>
  </header>




</div>
<script>


    apiready=function(){
       
        var pageParam = api.pageParam;

        var headerh = $api.dom("header").offsetHeight;
        $page.openfrm('home_chat_frm','./chat_frame.html',{x:0,y:headerh,w:'auto',h:api.winHeight-headerh},{touid:pageParam.touid},false,true);

    }




</script>
</body>
</html>
